package q1.project.modules.system.role.model;

import q1.project.common.enums.EnableStatusEnum;
import q1.project.core.base.PageQuery;

/**
 * @author Q1 Team
 */
public final class RoleVm {
  private RoleVm() {}

  @lombok.Data
  @lombok.EqualsAndHashCode(callSuper = true)
  public static class RoleQuery extends PageQuery {
    private String keyword;
    private String roleCode;
    private String roleName;
    private String status;
    private String tenantId;
  }

  public record RoleResponse(
      String id, String roleCode, String roleName, String description, EnableStatusEnum status) {}

  public record RoleCreate(
      String id, String roleCode, String roleName, String description, EnableStatusEnum status) {}
}
